﻿using System.Collections.Generic;

namespace Pomodoro.ViewModels.Models
{
    public class Person
    {
        public Person()
        {
            this.Tasks = new List<Task>();
        }

        public int ID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
    
        public string Role { get; set; }

        public string Photo
        {
            get;
            set;
        }

        public List<Task> Tasks { get; set; }

        public override string ToString()
        {
            return string.Format("{0} {1}", FirstName, LastName);
        }
    }
}